<template>
  <div class="vacation">
    <div class="vacation-title">
      周末去哪
    </div>
    <ul>
      <li class="vacation-item" v-for="item in vacList ">
        <div class="vacation-img">
          <img :src="item.imgUrl" alt="" />
        </div>
        <div class="vacation-msg">
            <p class="">{{item.title}}</p>
            <p>{{item.titl}}</p>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  props:['vacList'],

    data(){
        return{
            
        }
    }
};
</script>

<style scoped lang='stylus'>
@import '~css/common.styl'
.vacation-title {
  font-size: 0.32rem;
  padding: 0.24rem;
}
.vacation-item{
    margin-top: .1rem;

    background: #fff;
    font-size: .28rem;
}
.vacation-img{
    width: 100%;
    height: 0;
    padding-bottom: 37.43%;
}
.vacation-img img{
    width: 100%;
    height: 2.8rem;
}
.vacation-msg{
    padding: .2rem .2rem .2rem;
}
.vacation-msg p{
    textOverflow()
    
}
.vacation-msg p+p{
    color: rgb(112, 111, 111);
    font-size: .24rem;
    margin-top: .2rem;
}
</style>
